﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="view_sub_threadgroup.ascx.cs" Inherits="vboard_component_board_template_default_view_sub_threadgroup" EnableViewState="false" %>

<div class="list_sub_thread">

	<asp:Repeater ID="ThreadGroupRepeater" runat="server" OnItemDataBound="ThreadRepeater_ItemDataBound">
		<HeaderTemplate>
			<table border="0" cellspacing="2" cellpadding="5">
				<tr>
					<td class="Header_Stress"></td>
					<td class="Header_Title"></td>
					<td class="Header_Detail"></td>
				</tr>
		</HeaderTemplate>
		<ItemTemplate>
			<tr>
				<td class="Row_Stress"><asp:Image ID="StressImage" runat="server" ImageAlign="Middle" AlternateText="StressImage" /></td>
				<td class="Row_Title" style="padding-left : <%# Convert.ToInt32(Eval("ThreadDepth")) * 10 %>px">
					<div class="Thumbnail">
						<asp:PlaceHolder ID="ThumbnailPlaceHolder" runat="server" />
					</div>
					<div>
						<asp:Image ID="ReplyImage" runat="server" />

						<asp:PlaceHolder ID="CategoryPlaceHolder" runat="server" />

						<asp:HyperLink ID="ThreadHyperLink" runat="server" />
						
						<span class="CommentCount" title="<%# GetLocalResourceObject("CommentCount_Tooltip").ToString() %>">+<%# Eval("CommentCount") %></span>

						<span class="TrackbackCount" title="<%# GetLocalResourceObject("TrackbackCount_Tooltip").ToString() %>">+<%# Eval("TrackbackCount") %></span>

						<span class="ReadCount" title="<%# GetLocalResourceObject("ReadCount_Tooltip").ToString() %>">(<%# Eval("ReadCount") %>)</span>

						<asp:PlaceHolder ID="OptionIconPlaceHolder" runat="server" /><br />
					</div>
					<div class="UserName"><%# Eval("UserName") %></div>
				</td>
				<td class="Row_Detail">
					<div><%# Eval("RegistrationDate") %></div>
					<div>
						<asp:Literal ID="DetailLiteral" runat="server" />
					</div>
				</td>
			</tr>
		</ItemTemplate>
		<SeparatorTemplate>
			<tr><td colspan="3" class="Seperate"></td></tr>
		</SeparatorTemplate>
		<FooterTemplate>
			<tr>
				<td class="Foot"></td><td class="Foot"></td><td class="Foot"></td>
			</tr>
		</table>
		</FooterTemplate>
	</asp:Repeater>
</div>